/*
 * Created by LiuYou on 2020/12/15.
 *
 */

#ifndef EFFECTIVE_CPP_2_AOCDISPLAY_HPP
#define EFFECTIVE_CPP_2_AOCDISPLAY_HPP

#include <ostream>
#include "Display.hpp"

namespace Pc {


    class AocDisplay : public Display {
    public:
        friend std::ostream& operator<<(std::ostream& os, const AocDisplay& display);

        void show() override;

        ~AocDisplay() override;

        int getId() const;

        int getLifetime() const;

        const std::string& getFeature() const;

    private:
        int id;
        int lifetime;
        std::string feature;
    };

}


#endif //EFFECTIVE_CPP_2_AOCDISPLAY_HPP
